package c.d.a.a.c;

import android.graphics.Color;
import android.graphics.DashPathEffect;
import android.graphics.Typeface;
import c.d.a.a.b.i.a;
import c.d.a.a.d.e;
import c.d.a.a.f.b.d;
import c.d.a.a.j.g;
import com.github.mikephil.charting.data.Entry;
import com.pgl.sys.ces.out.ISdkLite;
import java.util.ArrayList;
import java.util.List;

/* compiled from: BaseDataSet */
public abstract class b<T extends Entry> implements d<T> {
    public List<Integer> a;
    public List<Integer> b;
    public String c;
    public a d;
    public boolean e;
    public transient e f;
    public c.d.a.a.b.e.b g;
    public float h;
    public float i;
    public boolean j;
    public boolean k;
    public c.d.a.a.j.d l;
    public float m;
    public boolean n;

    public b(String str) {
        this.a = null;
        this.b = null;
        this.c = "DataSet";
        this.d = a.LEFT;
        this.e = true;
        this.g = c.d.a.a.b.e.b.DEFAULT;
        this.h = Float.NaN;
        this.i = Float.NaN;
        this.j = true;
        this.k = true;
        this.l = new c.d.a.a.j.d();
        this.m = 17.0f;
        this.n = true;
        this.a = new ArrayList();
        this.b = new ArrayList();
        this.a.add(Integer.valueOf(Color.rgb(140, 234, ISdkLite.REGION_UNSET)));
        this.b.add(Integer.valueOf(-16777216));
        this.c = str;
    }

    public int A0(int i) {
        List list = this.a;
        return ((Integer) list.get(i % list.size())).intValue();
    }

    public DashPathEffect C() {
        return null;
    }

    public boolean I() {
        return this.k;
    }

    public c.d.a.a.b.e.b J() {
        return this.g;
    }

    public String N() {
        return this.c;
    }

    public boolean V() {
        return this.j;
    }

    public void c0(int i) {
        this.b.clear();
        this.b.add(Integer.valueOf(i));
    }

    public Typeface e() {
        return null;
    }

    public a e0() {
        return this.d;
    }

    public boolean f() {
        return this.f == null;
    }

    public float f0() {
        return this.m;
    }

    public void g0(boolean z) {
        this.j = z;
    }

    public e h0() {
        e eVar = this.f;
        return (eVar == null ? 1 : null) != null ? g.h : eVar;
    }

    public boolean isVisible() {
        return this.n;
    }

    public c.d.a.a.j.d j0() {
        return this.l;
    }

    public int l0() {
        return ((Integer) this.a.get(0)).intValue();
    }

    public boolean n0() {
        return this.e;
    }

    public void p(e eVar) {
        if (eVar != null) {
            this.f = eVar;
        }
    }

    public float p0() {
        return this.i;
    }

    public int s(int i) {
        List list = this.b;
        return ((Integer) list.get(i % list.size())).intValue();
    }

    public float w0() {
        return this.h;
    }

    public List<Integer> y() {
        return this.a;
    }
}
